package com.naiterui.ehp.bs.consult.feign;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import com.naiterui.ehp.bp.bo.recommend.RecomPrescriptionBO;
import com.naiterui.ehp.bp.support.config.FeignConfiguration;

/**
 * @author luao
 * @date 2021/8/11 6:00 下午
 **/
@FeignClient(name = "recommentFeignClient", url = "${ehp.domain.tuijian}", configuration = FeignConfiguration.class)
public interface RecommendFeignClient {

    @PostMapping("/inner/recom/prescription")
    List<RecomPrescriptionBO> recomPrescriptionList(@RequestBody List<Long> recomIdList);
}
